package versi.vitro.oaiserviceprovider.service.jena.impl;


import org.testng.annotations.Test;

import versi.vitro.oaiserviceprovider.service.jena.api.ModelBuilder;
import versi.vitro.oaiserviceprovider.service.jena.impl.ModelBuilderImpl;

import com.hp.hpl.jena.rdf.model.Model;

public class ModelBuilderImplTest {

  @Test
  public void testCreateModelFromOntologyName() {
      ModelBuilder modelBuilder = new ModelBuilderImpl(null);
	Model model = modelBuilder.createOntologyModelFromName("vitro:jenaOntModel");
	assert model.toString().contains("vitro.mannlib.cornell.edu");
  }
}
